<template>
    <div>
     {{this.$route.params.type}} 
     <!-- {{birthday}}     -->
     {{this.$store.state.userInfo.birthday}}
    <!-- 怎么展开数据来着？？？？ -->
     <!-- {{city}} -->
     </div>

</template>

<script>
import {mapState} from "vuex"
export default {
    name:"Detail",
    data(){
        return{
            mixInfo:{

            },
            userName:""

        }
    },
    props:{
        nickkkName:{
            type:String,
            default:""
        }
    },
    computed:{
        //为啥没起作用啊？？？
        ...mapState(["userInfo"])
    },
    methods:{
        
    },
    mounted(){
       
    }
}
</script>

<style lang="less" scoped>

    
</style>